function sendRequest() {
  // Content-Type: multipart/form-data
  const form = document.querySelector('form')
  const formData = new FormData(form)

  $.ajax({
    url: 'http://127.0.0.1/api/post/form-data',
    method: 'POST',
    contentType: false,
    processData: false,
    data: formData
  })
    .done(res => {
      console.log(res)
    })
    .catch(err => {
      console.log(err)
    })
}
